const merge = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common, {
    devtool: 'inline-source-map',
    mode:'development',
    devServer: {
        contentBase: './dist',
        hot: true,
        historyApiFallback: {
            rewrites: [
              { from: /.*/, to: '/index.html' }
            ]
          }    
    },
});